Repository navigation
🐛 Fix deprecation conditions showing install errors and improve condition semantics - #2296
Merged
openshift-merge-bot[bot] merged 1 commit intoJan 27, 2026
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes deprecation conditions showing install errors instead of actual deprecation status.
Problems Fixed
1. Install errors leaked into deprecation conditions
When installation failed, the error appeared in ALL conditions including deprecation ones:
Users couldn't tell if something was actually deprecated.
2. Wrong bundle checked during upgrades
When upgrading v1.0.0 → v1.0.1, deprecation showed v1.0.1's status even when the upgrade failed.
This violates Kubernetes convention: status must show actual state, not desired state.
Changes Made
What we do now
status: Truestatus: Unknownstatus: Unknown, reason: AbsentKey improvements
Install errors stay separate
ProgressingandInstalledconditions onlyUse installed bundle (not resolved)
Correct reason values
Deprecated→ whenTrueDeprecationStatusUnknown→ whenUnknownAbsent→ when no bundle installed (BundleDeprecated only)Before/After Comparison
False(misleading) ❌Unknown(honest) ✅Deprecated❌Examples
Example 1: Install Error (Bug #2008)
Before:
After:
Example 2: Catalog Removed
Before:
After: